package com.nwpu.coursesupport.view;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.nwpu.coursesupport.enumeration.Status;

/**
 *TaskMainAssignView中使用
 * @author archer
 *
 */
public class AssignView {
	private int id;
	private int lessonId;
	private int classId;
	private String className;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm")
	private Date beginDate;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm")
	private Date endDate;
	
	private String location;
	
	private Date deadline;
	private Status isVisible;
	private Status isAnswerVisible;
	

	public int getLessonId() {
		return lessonId;
	}

	public void setLessonId(int lessonId) {
		this.lessonId = lessonId;
	}

	public int getClassId() {
		return classId;
	}

	public void setClassId(int classId) {
		this.classId = classId;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public Date getDeadline() {
		return deadline;
	}

	public void setDeadline(Date deadline) {
		this.deadline = deadline;
	}

	public Status getIsVisible() {
		return isVisible;
	}

	public void setIsVisible(Status isVisible) {
		this.isVisible = isVisible;
	}

	public Status getIsAnswerVisible() {
		return isAnswerVisible;
	}

	public void setIsAnswerVisible(Status isAnswerVisible) {
		this.isAnswerVisible = isAnswerVisible;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	
}
